home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsdk.lha
/
man
/
cat3
/
strdup.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
872b
|
67 lines
STRDUP(3) UNIX Programmer's Manual STRDUP(3)
NNAAMMEE
ssttrrdduupp - save a copy of a string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
ssttrrdduupp(_c_o_n_s_t _c_h_a_r _*_s_t_r)
DDEESSCCRRIIPPTTIIOONN
The ssttrrdduupp() function allocates sufficient memory for a copy of the
string _s_t_r, does the copy, and returns a pointer to it. The pointer may
subsequently be used as an argument to the function free(3).
SSEEEE AALLSSOO
calloc(3) malloc(3) realloc(3) free(3)
HHIISSTTOORRYY
The ssttrrdduupp() function currently under development.
BSD Experimental April 19, 1991 1